package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 教师晋升关数设置
 * </p>
 *
 * @author hpiggy
 * @since 2025-10-18
 */
@TableName("train_promote_shutnum")
@ApiModel(value = "TrainPromoteShutnum对象", description = "教师晋升关数设置")
@Data
public class TrainPromoteShutnum implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("教师等级")
    private Integer teacherLevel;

    @ApiModelProperty("关数")
    private Integer num;

    @ApiModelProperty("描述")
    private String des;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;


    private Integer deleted;

    @ApiModelProperty("等级名")
    @TableField(exist = false)
    private String teacherLevelName;


}
